//
//  SCAnimation.h
//  DoulinClient
//
//  Created by YLKJ on 2019/2/26.
//

#import <Foundation/Foundation.h>
#import "XPSingleton.h"

typedef NS_ENUM(NSInteger, SCAnimationType){
    SCAnimationTypeDrop, //起点在终点上方
    SCAnimationTypeRise,//起点在终点下方
};

@interface SCAnimation : NSObject
SingletonH(SCAnimation)

- (void)animationFromPoint:(CGPoint)startP toPoint:(CGPoint)toP key:(NSString *)key type:(SCAnimationType)type;

@end
